package com.ddwl.schema.bo.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;
import java.time.Instant;

@ApiModel("开放平台通用bo")
@Data
public class OpenApiBo {

    @NotNull(message = "appId不能为空")
    @ApiModelProperty("对接应用ID")
    private String appId;
    @NotNull(message = "加密方式不能为空")
    @ApiModelProperty("加密方式")
    private String algorithm;
    @NotNull(message = "算法不能为空")
    @ApiModelProperty("算法")
    private String signatureAlgorithm;
    @NotNull(message = "请求时间不能为空")
    @ApiModelProperty("时间")
    private Instant timestamp;

}
